Spot Instances

aws/billing aws/compute

💡 Definition

Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices.

🔑 Key Concepts

⚙️ How it Works

  1. Request: You request Spot capacity, specifying a max price you are willing to pay.
  2. Launch: If your price > current Spot price, your instance launches.
  3. Run: It runs as long as capacity is available and your price > Spot price.
  4. Interrupt: If AWS needs capacity, you get a 2-minute warning via instance metadata/EventBridge to save work/hibernate.

🎯 Use Cases

💰 Pricing Model

📝 Exam Tips (CLF-C02)


See Also: * EC2 * Auto Scaling